#pragma once

#include <cmath>
#include "Utils.h"

#include <GL/glut.h>
#include <GL/gl.h>
#include <GL/glu.h>

class Wall
{
   static const int TORUS=5;
   static const int QUARTER_TORUS=6;
   static const int CYLINDER=7;
   static const int HALF_CYLINDER=8;

	int numberSharedSide;
	int x;
	int z;
	int angle;
	bool twisted;

public:
	Wall();
	Wall(int x,int z,int nbside,int angle);
	~Wall(void);

	static void init();

	void display();
	void createWall0();
	void createWall1();
	void createWall2();
	void createWall3();
	void createWall4();
	void createWall5();

	bool isTwisted();
};

